<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
		<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
		<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
	</head>
	<body class="container">
		    <div class="row">
			    <div class="col-3">
				    <nav class="nav nav-pills flex-column ">
					<a href="#a" class="nav-link  text-center" data-toggle="pill">北京</a>
					<a href="#b" class="nav-link text-center" data-toggle="pill">上海</a>
					<a href="#c" class="nav-link text-center" data-toggle="pill">广州</a>
				</nav>
			</div>
			<div class="col-9">
				<div class="tab-content">
					    <div class="tab-pane badge-info" id="a" style="height:40px;">北京是。。。</div>
					    <div class="tab-pane badge-info" id="b" style="height:40px;">上海是。。。</div>
					    <div class="tab-pane badge-info" id="c" style="height:40px;">广州是。。。</div>
				</div>
			</div>
		</div>
	</body>
</html>
